   <!--
      This file is licensed under the MIT License (MIT) available on
      http://opensource.org/licenses/MIT.
   -->
<lottie-player id="animation-hungry" src="/json/hungry.json"></lottie-player>
  <script>
    const animHungry = document.querySelector('#animation-hungry');
    animHungry.addEventListener('click', playHungryAnimation);
    animHungry.addEventListener('complete', stopHungryAnimation);

    function stopHungryAnimation() {
      animHungry.stop();
    }

    function playHungryAnimation() {
      animHungry.play(animHungry.firstFrame);
    }
  </script>
